package com.songshuai.sales.tool.dto.response.sopmanage;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import java.util.Date;

@Data
public class SopPreviewResDto {

    /**文章id*/
    private String sopId;

    /**标题*/
    private String title;

    /**点赞数*/
    private Integer goodNum;

    /**发布时间*/
    @Column(name = "publishTime")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date publishTime;

    /**点击数*/
    private Integer clickNum;

    /**头图*/
    private String img;

    /**跳转链接*/
    private String jumpUrl;

    /**内容*/
    private String sopContent;

}
